package cn.young.javalearning.designpattern.factorypattern.bean.f_bean;

import cn.young.javalearning.designpattern.factorypattern.f_abstractfactory.CancedI;

public class Canned implements CancedI {
    private String Box;
    private String price;

    public String getPrice() {
        return price;
    }

    public Canned setPrice(String price) {
        this.price = price;
        return this;
    }

    public String getBox() {
        return Box;
    }

    public Canned setBox(String box) {
        Box = box;
        return this;
    }

    @Override
    public void boil() {
        System.out.println("开始熬制罐头");
    }
}
